import request from "@/utils/request.js";

export const AnnouncementListService=(params)=>{
    const pageData = {
        pageNum : 1,
        pageSize : 3
    }
    return request.get('/announcement/list',{params:params})
}

export const AddAnnouncementService=(addAnnouncementData)=>{
    return request.post('/announcement/add',addAnnouncementData)
}